import { BaseSpriteToolTip } from "./BaseSpriteToolTip";
import { DisplayUtil } from "../../../../common/DisplayUtil";
//class SpriteToolTip
    
    export  class SpriteToolTip /* flash.display.Sprite */
    {
        

        public set childSprite(arg1: BaseSpriteToolTip)
        {
            this._childSprite = arg1;
            DisplayUtil.removeAllChild(this);
            if (!this.contains(this._childSprite)) 
            {
                this.addChild(this._childSprite);
            }
            return;
        }

        public set data(arg1)
        {
            if (this._childSprite) 
            {
                this._childSprite.tooltipData = arg1;
            }
            return;
        }

        /* internal */ /* var */_childSprite: BaseSpriteToolTip;
    }
